    <div class="row">
        <div class="col-lg-12">
            <h1 class="page-header">ADMIN</h1>
        </div>
        <!-- /.col-lg-12 -->
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h4>Sửa thông tin thành viên</h4>
                </div>
               <div class="panel-body">
                    <div ng-app="adminUserApp" ng-controller="adminUserController">
                        <div class="mainbox col-md-7 col-md-offset-2 col-sm-8 col-sm-offset-2">
                            <?php if($message): ?>
                            <div class="alert alert-success alert-dismissable">
                                <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
                                <?php print $message; ?>
                            </div>       
                            <?php endif; ?>
                            <form action="<?php print BASE_URL_ADMIN . 'user/edit?id=' . $iuser['id'];?>" ng-submit="adminUserIndexProcess(adminUserForm)"  method="post" id="adminUserForm" name="adminUserForm" class="form-horizontal" role="form" novalidate>   
                                <div class="form-group" ng-class="{ 'has-error' : adminUserForm.full_name.$error.required && submitted}">
                                    <label for="password" class="col-md-3">Họ tên</label>
                                    <div class="col-md-9">
                                        <input type="text" class="form-control" name="full_name" value="<?php print $iuser['full_name'];?>" ng-model="adminUser.full_name"  ng-init="adminUser.full_name='<?php print $iuser['full_name'];?>'" required>
                                        <p ng-show="submitted && adminUserForm.full_name.$error.required" class="help-block">Họ tên không được để trống.</p>
                                    </div>
                                </div>
                                <div class="form-group" ng-class="{ 'has-error' : adminUserForm.email.$error.required && submitted || submitted && adminUserForm.$error.email}">
                                    <label for="email" class="col-md-3">Email</label>
                                     <div class="col-md-9">
                                         <input id="adminUser-email" type="email" class="form-control"  name="email" value="<?php print $iuser['email'];?>" ng-model="adminUser.email"  ng-init="adminUser.email='<?php print $iuser['email'];?>'" required placeholder="" >       
                                        <p ng-show="submitted && adminUserForm.email.$error.required" class="help-block">Email không được để trống.</p>          
                                        <p ng-show="submitted && adminUserForm.$error.email" class="help-block">Email không hợp lệ.</p>
                                    </div>                                                             
                                </div>

                                <div class="form-group" ng-class="{ 'has-error' : adminUserForm.password.$error.required && submitted || submitted && adminUserForm.password.$error.minlength || submitted && adminUserForm.password.$error.invalid}">
                                    <label for="password" class="col-md-3">Giới tính</label>
                                    <div class="col-md-9">
                                        <select class="form-control" name="sex" ng-model="adminUser.sex">
                                            <option value="">Lựa chọn</option>
                                            <option value="male" selected="selected">Nam</option>
                                            <option value="female">Nữ</option>
                                        </select>                   
                                    </div>
                                </div>

                                <div class="form-group" ng-class="{ 'has-error' : adminUserForm.password.$error.required && submitted || submitted && adminUserForm.password.$error.minlength || submitted && adminUserForm.password.$error.invalid}">
                                    <label for="password" class="col-md-3">Ngày sinh</label>
                                    <div class="col-md-9">
                                        <div class="row">
                                            <div class="col-xs-4">
                                                <select class="form-control " name="day_birth" ng-model="adminUser.day_birth">
                                                    <option value="">Ngày</option>
                                                    <?php for($i = 1 ; $i <= 31; $i++):?>
                                                    <option value="<?php print $i;?>"><?php print $i;?></option>
                                                    <?php endfor; ?>                       
                                                </select>
                                            </div>
                                            <div class="col-xs-4">
                                                <select class="form-control" name="month_birth" ng-model="adminUser.month_birth">
                                                    <option value="">Tháng</option>
                                                    <?php for($i = 1 ; $i <= 12; $i++):?>
                                                    <option value="<?php print $i;?>"><?php print $i;?></option>
                                                    <?php endfor; ?>                       
                                                </select>
                                            </div>
                                            <div class="col-xs-4">
                                                <select class="form-control" name="year_birth" ng-model="adminUser.year_birth">
                                                    <option value="">Năm</option>
                                                    <?php for($i = 1900 ; $i <= 2014; $i++):?>
                                                    <option value="<?php print $i;?>"><?php print $i;?></option>
                                                    <?php endfor; ?>                       
                                                </select>     
                                            </div>
                                        </div>                    
                                    </div>
                                </div>

                                <div style="margin-top:10px" class="form-group">
                                    <!-- Button -->

                                    <div class="col-sm-12 controls">
                                        <div class="form-group">
                                            <!-- Button -->                                        
                                            <div class="col-md-offset-3 col-md-9">
                                                <button ng-disabled="loadingTracker.active()" data-ng-click="adminUserIndexProcess(adminUserForm)" id="btn-signup" type="submit" class="btn btn-info" data-style="zoom-in">
                                                    <span class="ladda-label">Lưu lại</span>                                               
                                                </button>
                                                <span ng-show="loadingTracker.active()" id="ajax-loading" class="ajax-loading margin-9"></span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </form>     
                        </div>
                    </div>
               </div>
            </div>
        </div>
   </div>
 </div>